//
//  Common.swift
//  TSKit
//
//  Created by chenyusen on 2018/3/16.
//

import Foundation

extension CGFloat {
    static let statusBarHeight: CGFloat = UIApplication.shared.statusBarFrame.height
    static let navigationBarHeight: CGFloat = 44
    static let topBarHeight:CGFloat = statusBarHeight + navigationBarHeight
    static let tabbarHeight: CGFloat = UIDevice.isIPhoneX ? 83 : 49
    static let unit: CGFloat = 1.0 / UIScreen.main.scale
}
